package com.shz.appletsapi.model.po;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.springframework.format.annotation.DateTimeFormat;

import com.shz.appletsapi.common.util.DateUtils;

import lombok.Data;


@Data
@Entity
@Table(name = "mine_info")
public class MineInfo implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 8515817093736577943L;
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;
	@Column(name = "tsid")
	private String tsid; //PC唯一编号,PC的SN号
	@Column(name = "os_version")
	private String os_version; //系统版本
	@Column(name = "ip_addr")
	private String ip_addr;//PC获取到的IP地址
	@Column(name = "graph_type")
	private Integer graph_type;//显卡类型 0：N卡1：A卡
	@Column(name = "cpu_model")
	private String cpu_model;//cpu信息
	@Column(name = "disk_storage")
	private Integer disk_storage;//磁盘总大小,单位GB
	@Column(name = "graph_model")
	private String graph_model;// 显卡型号,如:NVIDIA GTX750
	@Column(name = "graph_storage")
	private Integer graph_storage; //显存容量，单位MB
	@Column(name = "graph_bit")
	private Integer graph_bit;//显存位宽，单位bit
	@Column(name = "graph_hz")
	private Integer graph_hz;//显存频率,单位MHZ
	@Column(name = "channel")
	private String channel; //网吧标识

	@Column(name = "machine_name")
	private String machine_name;
	@Column(name = "mac")
	private String mac;
	@Column(name = "create_time")
	@DateTimeFormat(pattern = DateUtils.PATTERN_DATETIME)
	private Date create_time;

}
